package com.smart.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.smart.common.domain.BaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zyh
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("临时人员进出响应模型")
public class ManageTempUserRegistrationVO extends BaseVO implements Serializable {
    @ApiModelProperty("项目id")
    private Long projectId;
    @ApiModelProperty("进出场临时人员姓名")
    private String userName;
    @ApiModelProperty("进出场临时人员手机")
    private String userPhone;
    @ApiModelProperty("身份证号码")
    private String idNumber;
    @ApiModelProperty("常驻地址")
    private String address;
    @ApiModelProperty("常驻详细地址")
    private String addressDetails;
    @ApiModelProperty("接待人")
    private String receiver;
    @ApiModelProperty("是否离场（0离场 1在场）")
    private Integer leaveOrNot;
    @ApiModelProperty("离场出口 id")
    private Long approachAddress;
    @ApiModelProperty("离场出口名称")
    private String approachAddressName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("离场时间")
    private Date approachTime;
    @ApiModelProperty("入场入口 id")
    private Long entranceAddress;
    @ApiModelProperty("入场入口名称")
    private String entranceAddressName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("入场时间")
    private Date entranceTime;
    @ApiModelProperty("省")
    private String province;
    @ApiModelProperty("市")
    private String city;
    @ApiModelProperty("区")
    private String area;

    @ApiModelProperty("项目名称")
    private String projectName;
    @ApiModelProperty("项目编号")
    private String projectNumber;
    @ApiModelProperty("质量监督注册号")
    private String qualityRegistrationNumber;
    @ApiModelProperty("工程类型")
    private String engineeringType;
    @ApiModelProperty("总包单位（施工单位）")
    private String shigongUnit;
    @ApiModelProperty("建设地点")
    private String street;
}
